package com.henry.imkit

typealias OnSuccessCallback = () -> Unit
typealias OnErrorCallback = (code: Int, msg: String) -> Unit


const val IM_NOTICE_TYPE_NEW_GROUP = "NewGroup"
const val IM_NOTICE_TYPE_MODIFY_GROUP = "ModifyGroup"
const val IM_NOTICE_TYPE_NEW_MESSAGE = "NewMessage"
const val IM_NOTICE_TYPE_EXIT_GROUP = "ExitGroup"
const val IM_NOTICE_TYPE_ONLY_EVENT = "OnlyEvent"


const val IM_EVENT_TYPE_ONLINE = "Online"
const val IM_EVENT_TYPE_OFFLINE = "Offline"
const val IM_EVENT_TYPE_MEETING = "Meeting"
const val IM_EVENT_TYPE_MEETING_END = "MeetingEnd"
const val IM_EVENT_TYPE_Read_Message = "ReadedMessage"
